package com.edu.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.edu.admin.common.BaseMapper;
import com.edu.admin.entity.SysUserSubject;
import com.edu.admin.vo.UserSubjectVo;


/**
 * 年级表数据操作接口
 * 
 * @author Wangjiong
 * 
 */
@Mapper
public interface UserSubjectMapper extends BaseMapper<SysUserSubject> {

	/**
	 * 获取教师学科列表
	 * 
	 * @param userId
	 * @return List<UserSubjectVo>
	 */
	List<UserSubjectVo> getUserSubjectList(@Param("userId") Long userId);
	
	/**
	 * 删除教师学科
	 * 
	 * @param userId
	 * @return int
	 */
	int deleteUserSubjectByUserId(@Param("userId") Long userId);
	

}
